package com.yuyou.fn.tradingservice.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2017/7/4.
 */
@ApiModel
public class ProductQueryVo {
    @ApiModelProperty("类型，商品传0,租赁2，需求3")
    private Integer type;

    @ApiModelProperty("商品或者需求名称")
    private String productName;

    @ApiModelProperty("类型id")
    private Long categoryId;

    @ApiModelProperty("月销量排序 ， //0正序 1倒序")
    private Integer monthlyPurchaseNumber;

    @ApiModelProperty("总销量排序 ， //0正序 1倒序")
    private Integer amount;

    @ApiModelProperty("单价排序， //0正序 1倒序")
    private BigDecimal price;

    private Long sellerId;

    @ApiModelProperty("状态：0 未上架，1上架")
    private Integer status;

    @ApiModelProperty("时间间隔：0今天，1昨天，3近3天，依次按天数类推")
    private Integer timeInterval;

    @ApiModelProperty("区域id，选择全国不传")
    private Long areaTeamId;

    @ApiModelProperty("用户名")
    private String sellerName;

    @ApiModelProperty("卖家手机号码")
    private String sellerPhoneNo;

    @ApiModelProperty("开始时间")
    private Date beginTime;


    @ApiModelProperty("结束时间")
    private Date endTime;


    @ApiModelProperty("租赁最小开始时间")
    private Date minStartDate;

    @ApiModelProperty("租赁最大开始时间")
    private Date maxEndDate;


    @ApiModelProperty("租赁类型，0天（自由租赁），1每周，2每月，3每年")
    private String timeTypes;


    @ApiModelProperty("分类id，模糊查询字段category_ids")
    private String categoryIdLike;


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getMonthlyPurchaseNumber() {
        return monthlyPurchaseNumber;
    }

    public void setMonthlyPurchaseNumber(Integer monthlyPurchaseNumber) {
        this.monthlyPurchaseNumber = monthlyPurchaseNumber;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTimeInterval() {
        return timeInterval;
    }

    public void setTimeInterval(Integer timeInterval) {
        this.timeInterval = timeInterval;
    }

    public Long getAreaTeamId() {
        return areaTeamId;
    }

    public void setAreaTeamId(Long areaTeamId) {
        this.areaTeamId = areaTeamId;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getSellerPhoneNo() {
        return sellerPhoneNo;
    }

    public void setSellerPhoneNo(String sellerPhoneNo) {
        this.sellerPhoneNo = sellerPhoneNo;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getMinStartDate() {
        return minStartDate;
    }

    public void setMinStartDate(Date minStartDate) {
        this.minStartDate = minStartDate;
    }

    public Date getMaxEndDate() {
        return maxEndDate;
    }

    public void setMaxEndDate(Date maxEndDate) {
        this.maxEndDate = maxEndDate;
    }

    public String getTimeTypes() {
        return timeTypes;
    }

    public void setTimeTypes(String timeTypes) {
        this.timeTypes = timeTypes;
    }

    public String getCategoryIdLike() {
        return categoryIdLike;
    }

    public void setCategoryIdLike(String categoryIdLike) {
        this.categoryIdLike = categoryIdLike;
    }
}
